﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace ExamSharedClasses
{
    [Serializable()]
    public class Password
    {
        public const string USER_ID = "user_id";
        public const string TABLENAME = "password";
        public const string PASSWORD_HASH = "password_hash";

        public int UserId { get; set; }
        public string PasswordHash { get; set; }

        public Password()
        {
            UserId = -1;
            PasswordHash = "";
        }
        public Password(string passwordHash)
        {
            UserId = -1;
            PasswordHash = passwordHash;
        }
        public Password(int userId, string passwordHash)
        {
            UserId = userId;
            PasswordHash = passwordHash;
        }



    }
}